package com.example.qa.service.application.service;

import com.example.qa.service.application.port.in.GetQaByIdUseCase;
import com.example.qa.service.domain.Qa;
import com.example.qa.service.domain.port.GetQaByIdPort;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class GetQaByIdService implements GetQaByIdUseCase {

    @Resource
    private GetQaByIdPort getQaByIdPort;
    @Override
    public Qa getQaById(Long id) {
        return getQaByIdPort.getQaById(id);
    }
}
